
<extend name="Public/layout"/>
<block name="head">
  <link rel="stylesheet" href="__PUBLIC__css/infor-dis.css"> 
  <script src="__PUBLIC__js/jquery.nicescroll.min.js"></script>
<style type="text/css">
.footer{
  display: none;
}
</style>
</block>
    
   <block name="main">
    <div class="container">
      <div class="infor-title">
        <div class="infor-one">
          <div class="one-title">
            <h4>请选择您对平台的评价</h4>
          </div>
          <a class="one-have">
            <p>您已选择

              <switch name="colligate" >
                <case value="1" break="1">放心投</case>
                <case value="2">可以投 </case>
                <case value="3">谨慎投 </case>
                <case value="4">不要投 </case
                  ></switch>，点击更改 > 

            </p>
          </a>
        </div>
      </div>

      <div class="infor-schedule">
            <div class="schedule-title">
              <h4>平台信披进度</h4>
            </div>
            <div class="infor-per">
              <div class="per-havef">
                  <p>{$infos.v}%</p>
              </div>
              <div class="per-item">
                <span class="per-item-up"><span class="per-item-lower" id="all_lower"></span></span>
              </div>
              <div class="per-remind">
                <span>0%</span>
                <span class="remind-center">50%</span>
                <span>100%</span>
              </div>
            </div>
          </div>

      <div class="infor-month">
        <ul>
          <li>
            <a <if condition="$platform_report.id gt 0"><else/>style='display:none'</if> href="/Home/News/news_info/id/{$platform_report.news_id}" class="month-title">
              <h4>{$infos.platform_name}{$platform_report.title}信批报告</h4>
              <img src="__PUBLIC__images/path.png">
            </a>
            
            <div class="infor-container">
              <ul>
                <li>
                  <a  href="#" class="month-item function-detail">
                    <div class="month-left">
                      <h4>平台基础信息</h4>
                    </div>
                    <div class="month-center">
                      <span class="plat-per-up"><span class="plat-per-lower" id="basics"></span></span>
                      <p>{$info.basics.v}%</p>
                    </div>
                    <div class="month-right clearfix">
                      <img src="__PUBLIC__images/path.png">
                    </div>            
                  </a>
                </li>
                <li>
                  <a href="#" class="month-item govern">
                    <div class="month-left">
                      <h4>平台治理信息</h4>
                    </div>
                    <div class="month-center">
                      <span class="plat-per-up"><span class="plat-per-lower" id="govern"></span></span>
                      <p>{$info.govern.v}%</p>
                    </div>
                    <div class="month-right clearfix">
                      <img src="__PUBLIC__images/path.png">
                    </div>
                  </a>
                </li>
                <li>
                  <a href="#" class="month-item account">
                    <div class="month-left">
                      <h4>平台财会信息</h4>
                    </div>
                    <div class="month-center">
                      <span class="plat-per-up"><span class="plat-per-lower" id="finance"></span></span>
                      <p>{$info.finance.v}%</p>
                    </div>
                    <div class="month-right clearfix">
                      <img src="__PUBLIC__images/path.png">
                    </div>
                  </a>
                </li>
                <li>
                  <a href="#" class="month-item operate">
                    <div class="month-left">
                      <h4>平台运营信息</h4>
                    </div>
                    <div class="month-center">
                      <span class="plat-per-up"><span class="plat-per-lower" id="operate"></span></span>
                      <p>{$info.operate.v}%</p>
                    </div>
                    <div class="month-right clearfix">
                      <img src="__PUBLIC__images/path.png">
                    </div>
                  </a>
                </li>
                <li class="clearfix">
                  <a href="#" class="month-item project">
                    <div class="month-left">
                      <h4>平台项目信息</h4>
                    </div>
                    <div class="month-center">
                      <span class="plat-per-up"><span class="plat-per-lower" id="obj"></span></span>
                      <p>{$info.obj.v}%</p>
                    </div>
                    <div class="month-right clearfix">
                      <img src="__PUBLIC__images/path.png">
                    </div>
                  </a>
                </li>
              </ul>
            </div>
          </li>
        </ul>
      </div>
       <div class="short-comment" id="wordCounta">
            <textarea class="comment-textarea" id="announce" cols="5" type="text" maxlength="500" placeholder="您已实名认证，请根据您的情况作出实际评价，不造谣，不夸大。一旦发现评论出现恶意造谣等虚假信息，将对评论本人进行曝光，封号处理，如有违法，将提交公安机关处理。" ><if condition="$edit eq 1">{$circle_info.announce}</if></textarea>
            <span class="wordWrap">
            <var class="word">200</var> /200
            </span>
        </div>
        <div class="submit" onclick="sub()">
        <p>提交</p>
      </div> 
    </div>

    <!-- 平台评价弹窗 -->
    <div class="popup" <notempty name="colligate">style="display:none"</notempty>>
        <div class="popup-com">
          <div class="popup-title">
            <p>请选择您对平台的评价</p>
          </div>
          <div class="popup-con">
            <ul class="clearfix" id="tag">
               <li>
                <div class="unchecked one <if condition='$colligate eq 1'> active</if>" attr_id='1'>
                  <p>放心投</p>
                </div>
              </li>
              <li>
                <div class="unchecked two <if condition='$colligate eq 2'> active</if>"  attr_id='2'>
                  <p>可以投</p>
                </div>
              </li>
              <li>
                <div class="unchecked three <if condition='$colligate eq 3'> active</if>"  attr_id='3'>
                  <p>谨慎投</p>
                </div>
              </li>
              <li>
                <div class="unchecked four <if condition='$colligate eq 4'> active</if>"   attr_id='4'>
                  <p>不要投</p>
                </div>
              </li>
            </ul>
             <ul class="clearfix have">
              <li>
                <div class="unchecked <if condition='$is_invest eq 1'> haveactive</if>" attr_id='1'>
                  <p>已投资</p>
                </div>
              </li>
              <li>
                <div class="unchecked <if condition='$is_invest eq 0'> haveactive</if>"   attr_id='0'>
                  <p>未投资</p>
                </div>
              </li>
            </ul>
          </div>
<!--           <div class="popup-check">
            <div class="p-check"  <if condition='$is_invest eq 1'> p-active</if>" <if condition='$is_invest eq 1'>attr_check="1"<else/>attr_check="0"</if> ></div>
            <p>已投资</p>  
          </div> -->
          <div class="popup-submit">
            <p>下一步</p>
          </div>
        </div>
    </div>

   
        <!-- 平台基础信息弹窗 -->
    <div class="platform-process">
      <div class="platform-item">
        <div class="plat-title clearfix">
          <h4>平台基础信息</h4>
          <p class="function-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="basics-have">{$info.basics.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower"  id="basics_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
            <li class="clearfix">
              <if condition='$info["basics"]["plat_name"] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info["basics"]["plat_name"] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <else/>
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台全称及简称</p>
            </li>


            <li class="clearfix">
              <if condition='$info[basics][plat_add] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][plat_add] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][plat_add] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台注册地址</p>
            </li>
            
             <li class="clearfix">
              <if condition='$info[basics][capital] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][capital] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][capital] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台注册资本及实缴资本</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][online] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][online] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][online] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台成立时间</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][legal] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][legal] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][legal] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台法定代表人</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][treaty] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][treaty] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][treaty] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>注册协议模板</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][branch] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][branch] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][branch] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台及其各分支机构经营场所</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][deposit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][deposit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][deposit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>客户资金存管情况</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][perm] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][perm] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][perm] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>相应电信业务经营许可信息</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][evals] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][evals] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][evals] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>信息安全测评认证信息</p>
            </li>

            <li  class="clearfix">
              <if condition='$info[basics][scope] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][scope] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][scope] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>平台经营范围（工商登记的经营范围）</p>
            </li>
             <li  class="clearfix">
              <if condition='$info[basics][records] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][records] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][records] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>地方金融监管部门备案登记信息</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][recordss] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][recordss] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][recordss] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>网站备案</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][deposit_report] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][deposit_report] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][deposit_report] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>存管报告</p>
            </li>
       <li  class="clearfix">
              <if condition='$info[basics][contact] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][contact] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][contact] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>联系方式</p>
            </li>
            <li  class="clearfix">
              <if condition='$info[basics][insure] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[basics][insure] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[basics][insure] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>与保险机构、担保机构等各类涉及个体网络借贷业务相关的第三方机构合作情况，包括第三方机构基本信息、合作内容和范围，以及权利和义务；实际控制人、持股 5%以上的股东与保险机构、担保机构等各类第三方合作机构的关联关系；</p>
            </li>
          </ul>
        </div>
        <div class="cancle fun-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台治理信息弹窗 -->
    <div class="platform-govern">
      <div class="govern-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台治理信息</h4>
          <p class="govern-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="govern-have">{$info.govern.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower"  id="govern_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
              <li class="clearfix">
               <if condition='$info[govern][tissue] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][tissue] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][tissue] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>组织架构（指包括从业机构部门设置及职能规划等基本结构，应至少披露组织架构中部门设置情况）</p>
            </li>
            <li class="clearfix">
               <if condition='$info[govern][control] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][control] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][control] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>实际控制人与持股 5%以上的股东的名单</p>
            </li>
             <li class="clearfix">
              <if condition='$info[govern][director] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[govern][director] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[govern][director] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>董事、监事、高级管理人员名单。高级管理人员一般指总经理、副总经理、财务负 责人及公司章程规定的其它高级管理人员。</p>
            </li>
            
          </ul>
        </div>
        <div class="cancle gov-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台财会信息弹窗 -->
    <div class="platform-account">
      <div class="account-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台财会信息</h4>
          <p class="account-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="finance-have">{$info.finance.v}%</p>
            </div>
         
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="finance_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
             <li class="clearfix">
              <if condition='$info[finance][audit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][audit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][audit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>财务审计报告</p>
            </li>
            <li class="clearfix">
              <if condition='$info[finance][financing] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][financing] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][financing] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>重要融资信息</p>
            </li>
      <li class="clearfix">
              <if condition='$info[finance][accountant] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[finance][accountant] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[finance][accountant] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>会计报表</p>
            </li>
          </ul>
        </div>
        <div class="cancle acc-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
    <!-- 平台运营信息弹窗 -->
    <div class="platform-operate">
       <div class="operate-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台运营信息</h4>
          <p class="operate-sure">确定</p>
        </div>
        <div class="fun-per">
        
            <div class="per-have">
              <p class="operate-have">{$info.operate.v}%</p>
            </div>
          
          <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="operate_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container" id="operate-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
            <li class="clearfix">
              <if condition='$info[operate][trade] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][trade] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][trade] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>交易总额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][stroke] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][stroke] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][stroke] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>交易总笔数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>借款人总数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>投资人总数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][compen] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][compen] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][compen] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>代偿金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][exceed] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][exceed] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][exceed] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>逾期金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][limit] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][limit] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][limit] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目逾期率</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][limit_num] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][limit_num] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][limit_num] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>逾期项目数</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][pre_borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][pre_borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][pre_borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>人均累计借款金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][pre_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][pre_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][pre_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>人均累计投资金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][single_finan] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][single_finan] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][single_finan] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>单笔均融资金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][one_balance] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][one_balance] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][one_balance] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大单户借款余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][ten_balance] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][ten_balance] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][ten_balance] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大十户借款余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][one_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][one_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][one_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大单户投资余额占比</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][ten_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][ten_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][ten_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>最大十户投资余额占比</p>
            </li>
            <li class="clearfix">
               <if condition='$info[operate][history] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][history] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][history] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史逾期项目数</p>
            </li>
            <li class="clearfix">
               <if condition='$info[operate][add_borrow] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][add_borrow] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][add_borrow] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史人均累计借款金额</p>
            </li>
            <li class="clearfix">
              <if condition='$info[operate][add_invest] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[operate][add_invest] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[operate][add_invest] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>历史人均累计投资金额</p>
            </li>
          </ul>
        </div>
        <div class="cancle ope-cancle">
          <p>取消</p>
        </div>
      </div>
    </div> 
    <!-- 平台项目信息弹窗 -->
    <div class="platform-project">
      <div class="project-item platform-item clearfix">
        <div class="plat-title clearfix">
          <h4>平台项目信息</h4>
          <p class="project-sure">确定</p>
        </div>
        <div class="fun-per">
          
            <div class="per-have">
              <p class="obj-have">{$info.obj.v}%</p>
            </div>
                    <div class="fun-item">
            <span class="fun-item-up"><span class="fun-item-lower" id="obj_b"></span></span>
          </div>
          <div class="fun-remind2">
            <span class="zero">0%</span>
            <span class="remind-center">50%</span>
            <span class="all">100%</span>
          </div>
        </div>
        <div class="plat-container">
          <div class="plat-tip">
            <div class="plat-have">
              <img src="__PUBLIC__images/plat-have.png">
              <p>已办理</p>
            </div>
            <div class="plat-ing">
              <img src="__PUBLIC__images/plat-ing.png">
              <p>正在办理</p>
            </div>
            <div class="plat-pro">
              <img src="__PUBLIC__images/plat-problem.png">
              <p>未有进度报告</p>
            </div>
          </div>
          <ul>
             <li class="clearfix">
              <if condition='$info[obj][project] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][project] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][project] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目简介</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][guarantee] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][guarantee] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][guarantee] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>还款保障措施</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][risk] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][risk] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][risk] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目风险提示</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][useing] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][useing] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][useing] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>借款用途</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][cost] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][cost] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][cost] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>相关费用</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][contract] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][contract] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][contract] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>合同模板</p>
            </li>
            <li class="clearfix">
              <if condition='$info[obj][project_info] eq 0'>
                <img src="__PUBLIC__images/plat-problem.png">
              <elseif condition='$info[obj][project_info] eq 1' />
                <img src="__PUBLIC__images/plat-have.png">
              <elseif condition='$info[obj][project_info] eq 2' />
                <img src="__PUBLIC__images/plat-ing.png">
              </if>
              <p>项目基础信息（金额，投资期限，起投金额，计息日，收益率，还款方式，项目状态）</p>
            </li>
          </ul>
        </div>
        <div class="cancle pro-cancle">
          <p>取消</p>
        </div>
      </div>
    </div>
  <block name="js">
    <script type="text/javascript">
    document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false); 
    $('.one-have').click(function() {
          $('.popup').css('display','block');
          document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false); 
        });
      // 点击评价
          $('#tag > li > div').each(function(index, v) {
            $(v).click(function(){
              $('#tag > li > div').each(function(index, v){
                $(v).removeClass('active')
              });
              $(v).addClass('active');
            });
          });
          $('.have > li > div').each(function(index, v) {
            $(v).click(function(){
              $('.have > li > div').each(function(index, v){
                $(v).removeClass('haveactive')
              });
              $(v).addClass('haveactive');
            });
          });
      // 是否已投资
        $('.p-check').click(function() {
          if ($('.p-check').hasClass('p-active')) {
            $('.p-check').removeClass('p-active');
            $('.p-check').attr('attr_check','0');
            $('.p-check~p').html('未投资');
          }else{
            $('.p-check').addClass('p-active');
            $('.p-check').attr('attr_check','1');
            $('.p-check~p').html('已投资');
          };
        });
    $('.popup-submit').click(function() {
          
          var  text ='',temp = 0;
          $('#tag > li > div').each(function(index, v) {
            if($(v).hasClass('active')){
              temp +=1;
            }
            $('.one-have > p')[0].innerHTML = '您已选择'+text+'，点击更改 >';
          });
          if(temp>1){
            layer.open({
              content: '最多只能选择一个评价！'
              ,skin: 'msg'
              ,time: 2 //2秒后自动关闭
            });
          }else if(temp==0){
             layer.open({
              content: '必须要选择一个评价！'
              ,skin: 'msg'
              ,time: 2 //2秒后自动关闭
            });
          }else{
            //提交综合评价
            var colligate = $('#tag > li > .active').attr('attr_id');
            var platform_id = '{$_GET["id"]}';
             var is_invest = $('.have > li > .haveactive').attr('attr_id');
            $.post('/Home/circle/grade',{
                platform_id:platform_id,
                colligate:colligate,
                is_invest:is_invest
            },function(res){
                  if(res.err!=0){
                         layer.open({
                            content:"您未改变评价！"
                            ,skin: 'msg'
                            ,time: 2 //2秒后自动关闭
                          });
                        
                  }
                      $('.popup').css('display','none');
                      document.addEventListener("touchmove",function(e){
                           e.returnValue = true;
                      },false);
                      $('#tag > li > div').each(function(index, v) {
                          if($(v).hasClass('active')){
                              text += $(v).children('0').prevObject["0"].innerText;
                          }
                          $('.one-have > p')[0].innerHTML = '您已选择'+text+'，点击更改 >';
                      });
            })
           
        }
        });
      function sub(){
        var userid = "{$_SESSION['user']['id']}"
         if(!userid){
            layer.open({
                    content: '请先登录！'
                    , skin: 'msg'
                    , time: 1
                    , end: function () {
                        location.href = "/Home/User/login?callback=/Home/circle/circle_info/id/{$_GET['id']}"
                    }
                });
            return
        }

        var announce = $('#announce').val();
        if(!announce){
          console.log(1);
          layer.open({
            content:"您未输入评论！"
            ,skin: 'msg'
            ,time: 2 //2秒后自动关闭
          });
          return
        }
        var platform_id = "{$_GET['id']}";
         var edit = "{$edit}";
        if(edit){
          var info_id = "{$_GET['info_id']}"
          var postdata = {announce:announce, platform_id:platform_id,edit:1,info_id:info_id}
        }else{
          var postdata = {announce:announce, platform_id:platform_id,}
        }
        $.post('/Home/Circle/infoann',postdata,function(res){
       
          if(res.err==0){
            if(edit){
              layer.open({
                content:res.msg
                ,skin: 'msg'
                ,time: 2 //2秒后自动关闭
                ,end:function(){history.go(-1)}
              });
            }else{
              layer.open({
                content:res.msg
                ,skin: 'msg'
                ,time: 2 //2秒后自动关闭
                ,end:function(){location.href="/Home/circle/circle_info/id/"+platform_id}
              });
            }
           
          }else{
            layer.open({
              content:res.msg
              ,skin: 'msg'
              ,time: 2 //2秒后自动关闭
            });
          }
        })
        console.log(announce)
        if(!announce){
          console.log(1);
          layer.open({
            content:"您未输入评论！"
            ,skin: 'msg'
            ,time: 2 //2秒后自动关闭
          });
        }
      }
    
    $(function(){
      $('.per-havef').css('margin-left','{$infos.v}%')
      $('#all_lower').css('width','{$infos.v}%')
      $('#basics').css('width','{$info.basics.v}%')
      $('#govern').css('width','{$info.govern.v}%')
      $('#finance').css('width','{$info.finance.v}%') 
      $('#operate').css('width','{$info.operate.v}%')
      $('#obj').css('width','{$info.obj.v}%')

      $('#basics_b').css('width','{$info.basics.v}%')
      $('#govern_b').css('width','{$info.govern.v}%')
      $('#finance_b').css('width','{$info.finance.v}%')
      $('#operate_b').css('width','{$info.operate.v}%')
      $('#obj_b').css('width','{$info.obj.v}%')

      $('.basics-have').css('left','{$info.basics.v}%')
      $('.govern-have').css('left','{$info.govern.v}%')
      $('.finance-have').css('left','{$info.finance.v}%')
      $('.operate-have').css('left','{$info.operate.v}%')
      $('.obj-have').css('left','{$info.obj.v}%')
    })
        // 点击平台基础信息弹窗
    $('.function-detail').click(function() {   
      $('.platform-process').css('display','block');
      $('.plat-container').getNiceScroll().show();
      $('.plat-container').getNiceScroll().resize();
     $('.plat-container').niceScroll({
          cursorcolor: "#ccc",//#CC0071 光标颜色
          cursoropacitymax: 1, //改变不透明度非常光标处于活动状态（scrollabar“可见”状态），范围从1到0
          touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
          cursorwidth: "5px", //像素光标的宽度
          cursorborder: "0", // 游标边框css定义
          cursorborderradius: "5px",//以像素为光标边界半径
          autohidemode: true ,//是否隐藏滚动条
          preventmultitouchscrolling: true
      });
     document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.function-sure').click(function(){
      $('.platform-process').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.fun-cancle').click(function(){
      $('.platform-process').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });


    // 点击平台治理信息弹窗
    $('.govern').click(function() {
      $('.platform-govern').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.govern-sure').click(function(){
      $('.platform-govern').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.gov-cancle').click(function(){
      $('.platform-govern').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台财会信息弹窗
    $('.account').click(function() {
      $('.platform-account').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.account-sure').click(function(){
      $('.platform-account').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.acc-cancle').click(function(){
      $('.platform-account').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台运营信息
    $('.operate').click(function() {
      $('.platform-operate').css('display','block');
      $('#operate-container').getNiceScroll().show();
      $('#operate-container').getNiceScroll().resize();
     $('#operate-container').niceScroll({
          cursorcolor: "#ccc",//#CC0071 光标颜色
          cursoropacitymax: 1, //改变不透明度非常光标处于活动状态（scrollabar“可见”状态），范围从1到0
          touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
          cursorwidth: "5px", //像素光标的宽度
          cursorborder: "0", // 游标边框css定义
          cursorborderradius: "5px",//以像素为光标边界半径
          preventmultitouchscrolling: true,
          autohidemode: true //是否隐藏滚动条
      });
     document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.operate-sure').click(function(){
      $('.platform-operate').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.ope-cancle').click(function(){
      $('.platform-operate').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

    // 点击平台项目信息弹窗
    $('.project').click(function() {
      $('.platform-project').css('display','block');
      document.addEventListener("touchmove",function(e){
          e.preventDefault();
          e.stopPropagation();
      },false);
    });
    $('.project-sure').click(function(){
      $('.platform-project').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });
    $('.pro-cancle').click(function(){
      $('.platform-project').css('display','none');
      document.addEventListener("touchmove",function(e){
           e.returnValue = true;
      },false);
    });

     // 请选择您对平台的评价弹层
    $(function(){

      var wordCount = $("#wordCounta"),
            textArea = wordCount.find("textarea"),
            word = wordCount.find(".word");
        statInputNum(textArea,word);

    function statInputNum(textArea,numItem) {
        var max = numItem.text(),
            curLength;
        textArea[0].setAttribute("maxlength", max);
        curLength = textArea.val().length;
        numItem.text(max - curLength);
        textArea.on('input propertychange', function () {
            var _value = $(this).val().replace(/\n/gi,"");
            numItem.text(max - _value.length);
        });
    }

      if ($('.popup').css('display') =='block') {
        $('body').height($(window).height());
      $('body').css('overflow','hidden');
      $("html,body").animate({scrollTop:0},500);
      };
    })

    </script>
</block>